﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/AdminMaster.master" AutoEventWireup="true" CodeFile="ManageDirectory.aspx.cs" Inherits="ManageDirectory" %>

<%@ Register src="../Controls/NonActiveDirectoryList.ascx" tagname="NonActiveDirectoryList" tagprefix="uc1" %>
<%@ Register src="../Controls/DirectoryViewEdit.ascx" tagname="DirectoryViewEdit" tagprefix="uc2" %>
<%@ Register src="../Controls/DirectoryIsActiveList.ascx" tagname="DirectoryIsActiveList" tagprefix="uc3" %>

<asp:Content ID="Content1" ContentPlaceHolderID="H" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="P" Runat="Server">
<!-- dashboard left content open -->
  	<div class="dash_left">
<!-- breadcrum open -->
    <div class="breadcrum"><a href="Dashboard.aspx">Dashboard</a> &gt; <a href="ManageDirectory.aspx" class="current">Manage Directory List</a><a class="setting" href="Profile.aspx">Account Settings</a></div>
	<!-- breadcrum close -->
  		<!-- box open -->
		<div class="boxwrap"><div class="boxbtm">
		<div class="boxmid">
		  <h1 class="boxtitle">Manage Directory List</h1>
		  <%--<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>--%>


    <div>
        <asp:Panel ID="pnlNonActiveDirectoryList" runat="server" Visible="true">
        <uc1:NonActiveDirectoryList ID="NonActiveDirectoryList1" runat="server" OnAddNewRequested="ucNonActiveDirectoryList_AddNewRequested" OnEditRequested="ucNonActiveDirectoryList_EditRequested" OnDataSourceRequested="ucNonActiveDirectoryList_DataSourceRequested"/>
          
         <asp:Panel ID="pnlDirectoryIsActiveList" runat="server" Visible="true">
            <uc3:DirectoryIsActiveList ID="DirectoryIsActiveList1" runat="server" OnEditRequested="ucDirectoryIsActiveList_EditRequested" OnDataSourceRequested="ucDirectoryIsActiveList_DataSourceRequested" OnAddNewRequested="ucDirectoryIsActiveList_AddNewRequested" />

        </asp:Panel> 
               
        </asp:Panel>
        <asp:Panel ID="pnlDirectoryViewEdit" runat="server" Visible="false">
            <uc2:DirectoryViewEdit ID="DirectoryViewEdit1" runat="server" OnDataSourceBusinessCategoryRequested="ucDirectoryViewEdit_DataSourceUserRequested" />
            
            <div class="admn_frm_row" runat="server" id="divexistbusinesscategoryname" visible="false">
                <div class="admn_frm_leftcol"></div>
                <div class="admn_frm_error">
                    <asp:Label ID="lblmsgforcheck" runat="server" Text="* This Business Category already exist." ForeColor="Red"></asp:Label>
                </div>
                </div>
        </asp:Panel>
        <asp:Panel ID="pnlButtons" runat="server" Visible="false">
                <div class="admn_frm_row">
                <div class="admn_frm_leftcol"></div>
                <div class="admn_frm_rightcol">
                <asp:ImageButton ID="btnsave" runat="server" 
                AlternateText="Save" ValidationGroup="All" onclick="btnsave_Click" 
                CssClass="admn_bttn_save" src="../images/admin_bttn/trans.gif"></asp:ImageButton>
                <asp:ImageButton ID="btnCancel" runat="server" 
                AlternateText="Cancel" onclick="btnCancel_Click" CssClass="admn_bttn_cancel" Width="100px" src="../images/admin_bttn/trans.gif"></asp:ImageButton>
                </div>
                </div>

        </asp:Panel>
    </div><br/>
    <%--</ContentTemplate>
</asp:UpdatePanel>--%>
		  <div class="viewmore"></div>
		</div>
		</div></div>
		<!-- box close -->
		</div>
		<!-- dashboard left content close -->
</asp:Content>

